package com.yfp.client.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class MallOrderDetailVO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 商城订单ID
     */
    @Schema(description = "商城订单ID")
    private Long mallOrderId;

    /**
     * 商城商品ID
     */
    @Schema(description = "商城商品ID")
    private Long mallProductId;

    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String productName;

    /**
     * 价格
     */
    @Schema(description = "价格")
    private BigDecimal price;

    /**
     * 产品说明
     */
    @Schema(description = "产品说明")
    private String productInstructions;

    /**
     * 购买说明
     */
    @Schema(description = "购买说明")
    private String buyInstructions;

    /**
     * 使用规则
     */
    @Schema(description = "使用规则")
    private String useRule;

    /**
     * 商品图片
     */
    @Schema(description = "商品图片")
    private String productImg;

    /**
     * 商品详情主图
     */
    @Schema(description = "商品详情主图")
    private String productHeadimg;

    /**
     * 商品详情图
     */
    @Schema(description = "商品详情图")
    private String productInfoimg;

    /**
     * 积分
     */
    @Schema(description = "积分")
    private Long integral;

    /**
     * 类型1现金支付2积分兑换3现金+积分
     */
    @Schema(description = "类型1现金支付2积分兑换3现金+积分")
    private Integer mallProductType;

    /**
     * 购买数量
     */
    @Schema(description = "购买数量")
    private Integer buyNum;
}
